import java.io.*;

class MyCopy 
{
	public static void main(String[] args) throws IOException
	{

		if(args.length!=2)
			return ;

		FileInputStream fis = new FileInputStream(args[0]);

		FileOutputStream fos = new FileOutputStream(args[1]);

		byte[] buf = new byte[1024];
		int len = 0;

		while((len = fis.read(buf))!=-1)
		{
			fos.write(buf,0,len);
		}

		fos.close();
		fis.close();

	}		
}
